var express = require("express");

// 创建app
const app = express();

// app.use("/public/", express.static("./public/"));
app.use("/a/b/c/", express.static("./public/"));
// app.use(express.static("./public/"));

// 根目录
app.get("/", (req, res) => {
    res.send("123")
});

//
app.get("/p", (req, res) => {
    res.send(`123p`)
});

app.listen(2500, () => {
    console.log("this server is running at http://127.0.0.1:2500")
});
